package com.bkhc.umc.repository;

import com.bkhc.umc.entity.Address;
import com.bkhc.umc.entity.UserRole;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AddressRepository extends JpaRepository<Address,String> , JpaSpecificationExecutor<Address> {


    List<Address> findByUserId(String userId);
}
